home *** CD-ROM | disk | FTP | other *** search
/ NeXT Enterprise Objects Framework 1.1 / NeXT Enterprise Objects Framework 1.1.iso / NextDeveloper / Examples / EnterpriseObjects / Archiving / ArchivingObject / Owner.h < prev    next >
Encoding:
Text File  |  1994-09-10  |  651 b   |  32 lines

  1.  
  2. #import <appkit/appkit.h>
  3. #import <foundation/NSArray.h>
  4.  
  5. #import "Author.h"
  6.  
  7. @interface Owner:Object
  8. {
  9.     id    controller;
  10.     id    dataSource;
  11.     id    textObject;
  12.     NSArray    *eoArray;
  13.     Author     *eoAuthor;
  14. }
  15.  
  16. - appDidInit:sender;
  17. - readObject:sender;
  18. - writeObject:sender;
  19. - (NSString *)applicationPath;
  20.  
  21. // These two methods invoke the appropriate methods to archive and
  22. // unarchive a graph of objects when the root object is a descendent
  23. // of Object
  24.  
  25. - (BOOL) archiveThisObject:(Object *)object;
  26. - (Object *)unarchiveObject;
  27. @end
  28.  
  29. /* Add a category to the text object to show results */
  30. @interface Text (printResults)
  31. - appendText:(const char *)newText;
  32. @end